<?php

Yii::import('zii.widgets.jui.CJuiDatePicker');

class DDatePicker extends CJuiDatePicker {

    public $cssFile    = false;
    public $scriptFile = false;

    public function init() {
        $this->options = array(
            'dateFormat'      => 'yy-mm-dd',
            'changeMonth'     => true,
            'changeYear'      => true,
            'showButtonPanel' => true,
            'yearRange'       => '-5:+5',
        );
    }

}
